/*#region 顶部 start */
body {
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  font-family: -apple-system, Helvetica, sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  background-color: #f6f6f6;
}
.app {
  height: 45px;
}
.app ul li {
  float: left;
  height: 45px;
  background-color: #333;
  text-align: center;
  line-height: 45px;
  color: #fff;
}
.app ul li:nth-child(1) {
  width: 8%;
}
.app ul li:nth-child(1) img {
  width: 10px;
}
.app ul li:nth-child(2) {
  width: 10%;
}
.app ul li:nth-child(2) img {
  width: 30px;
  vertical-align: middle;
}
.app ul li:nth-child(3) {
  width: 57%;
}
.app ul li:nth-child(4) {
  width: 25%;
  background-color: #f63515;
}
/*#endregion 顶部 end */

/*#region 搜索 start */
.search-wrap {
  position: fixed;
  height: 44px;
  overflow: hidden;
  min-width: 320px;
  max-width: 640px;
  width: 100%;
}
.search-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 44px;
}
.search-login {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 44px;
  line-height: 44px;
  color: #fff;
}
.search {
  position: relative;
  height: 30px;
  margin: 0 50px; 
  margin-top: 7px;
  border-radius: 15px;
  background-color: #fff;
  color: #fff;
}
.search-btn::before {
  content: '';
  display: block;
  width: 20px;
  height: 18px;
  background: url(../images/s-btn.png);
  background-size: 20px 18px;
  margin: 14px 0 0 15px;
}
.jd-icon {
  width: 20px;
  height: 15px;
  position: absolute;
  top: 8px;
  left: 13px;
  background: url(../images/jd.png) no-repeat;
  background-size: 20px 15px;
}
.jd-icon::after {
  position: absolute;
  right: -8px;
  top: 0;
  content: '';
  display: block;
  width: 1px;
  height: 15px;
  background-color: #ccc;
}
.sou {
  position: absolute;
  top: 8px;
  left: 50px;
  width: 18px;
  height: 15px;
  background: url(../images/jd-sprites.png) no-repeat -81px 0;
  background-size: 200px auto;

}
.slider img {
  width: 100%;
}
.brand {
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}
.brand div{
  float: left;
  width: 33.33%;
}
.brand div img {
  width: 100%;
}
/*#endregion 搜索 end */

/*#region nav start  */
nav {
  padding-top: 5px;
}
nav a {
  float: left;
  width: 20%;
  text-align: center;
}
nav a img {
  width: 40px;
  margin: 10px 0;
}
nav a span {
  display: block;
}
/*#endregion nav end  */

/*#region news新闻模块 start */
.news{
 margin-top: 20px;
}
.news img {
  width: 100%;
}
.news a {
  float: left;
}
.news a:nth-child(1) {
  width: 50%;
}
.news a:nth-child(2),
.news a:nth-child(3) {
  width: 25%;
  border-left: 1px solid #ccc;
}
/*#endregion news新闻模块 end */

/*#region 秒杀模块 start */
.ms-text {
  position: relative;
 height: 30px;
 margin-top: 25px;
 line-height: 30px;
}
.ms-text h3 {
  display: inline-block;
  font-size: 20px;
  color: #f63515;
}
.ms-text h4 {
  display: inline-block;
  margin-left: 5px;
  margin-right: 10px;
}
.ms-text span {
  position: absolute;
  top: 0;
  right: 0;
}
.ms-text span a {
  color: #f63515;
}

.ms .ms-img {
  margin-top: 10px;
}
.ms-img a {
  float: left;
  width: 25%;
}
.ms-img a img {
  width: 100%;
}
.ms-img a span {
  font-size: 20px;
  color: red;
}
/*#endregion 秒杀模块 end */

/*#region 商品模块 start */
.shops {
  margin-top: 20px;
}
.shops-left {
  float: left;
  width: 45%;
  background-color: white;
  border-radius: 10px;
  margin-left: 20px;
  overflow: hidden;
}
.shops-left img {
  width: 100%;
}
.shops-right {
  float: left;
  width: 45%;
  background-color: white;
  border-radius: 10px;
  margin-left: 10px;
  overflow: hidden;
}
.shops-right img {
  width: 100%;
}
.shops-left span {
  margin-top: 10px;
  margin-left: 20px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  color: black;
}
.shops-left .logo2 {
  width: 113px;
  height: 20px;
  background-color: #ffeff5;
  margin-left: 20px;
  line-height: 20px;
  margin-top: 10px;
}
.shops .price {
  margin-left: 20px;
  margin-top: 10px;
  font-size: 22px;
  color: #ff4142;
}
.shops-right span {
  margin-top: 10px;
  margin-left: 20px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  color: black;
}
/*#endregion 商品模块 end */

/*#region 底部 start*/
footer {
  position: fixed;
  bottom: 0;
  height: 44px;
  width: 100%;
  background-color: #3d508a;
  min-width: 320px;
  max-width: 640px;
}
footer div {
  float: left;
  width: 20%;
  text-align: center;
  line-height: 44px;
}
footer div img {
  width: 30px;
  height: 30px;
}
/*#endregion 底部 end*/
/*#region 特殊样式 start */
/*点击高亮我们需要清除清除 设置为transparent 完成透明*/
* {
  -webkit-tap-highlight-color: transparent;
}
/*在移动端浏览器默认的外观在iOS上加上这个属性才能给按钮和输入框自定义样式*/
input {
  -webkit-appearance: none;
}
/*禁用长按页面时的弹出菜单*/
img,a { -webkit-touch-callout: none; }
/*#endregion 特殊样式 end */

